using MicroMsgBackground.Common.Utils;
using System;
namespace MicroMsgBackground.Manager
{
	public class SyncInfo
	{
		public byte[] bytesCurSyncKey;
		public bool bSetCurSyncKey;
		public byte[] bytesMaxSyncKey;
		public bool bSetMaxSyncKey;
		public byte[] bytesSyncKeyBuf;
		public bool bSetSyncKey;
		public int nInitStatus;
		public bool bSetInitStatus;
		public SyncInfo()
		{
		}
		public SyncInfo(byte[] curKey, byte[] maxKey, byte[] syncKey, int state)
		{
			this.bytesCurSyncKey = Util.byteArrayClone(curKey);
			this.bSetCurSyncKey = true;
			this.bytesMaxSyncKey = Util.byteArrayClone(maxKey);
			this.bSetMaxSyncKey = true;
			this.bytesSyncKeyBuf = Util.byteArrayClone(syncKey);
			this.bSetSyncKey = true;
			this.nInitStatus = state;
			this.bSetInitStatus = true;
		}
		public SyncInfo(byte[] syncKey)
		{
			this.bytesSyncKeyBuf = Util.byteArrayClone(syncKey);
			this.bSetSyncKey = true;
		}
	}
}
